import { defineComponent } from 'vue'

const Proptype = {
  msg: {
    type: String,
  },
  age: {
    type: Number,
    required: true,
  },
} as const

export default defineComponent({
  props: Proptype,
  setup(props) {
    return () => {
      const { msg, age } = props

      return (
        <div class="hello">
          {msg}
          <p>{age}</p>
        </div>
      )
    }
  },
})
